import { quizService } from './../service/quizService';
import { useEffect, useState } from "react";

export function useQuizStat() {
  const [quizStat, setQuizStat] = useState<number>(0);

  useEffect(() => {
    const fetchAndGroup = async () => {
    //   const history = await quizService.getHist();
    //   setQuizStat(history.length);
    };

    fetchAndGroup();
  }, []);

  return {};
}